package com.example.demo.service;

import com.example.demo.dao.StudentRepository;
import com.example.demo.domain.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface StudentService{

    public List<Student> findAll();
    public Student insert(Student student);
    public Student update(Student student);
}